package com.zg.scf.service;

import com.zg.common.core.dao.scf.entity.ImgCategory;
import com.zg.common.core.service.IPageBaseService;
import com.zg.scf.domain.vo.ImgCategoryVo;
import com.zg.scf.domain.vo.ImgConfigVo;

import java.util.List;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/5/22 10:47
 */

public interface ImgCategoryService extends IPageBaseService<ImgCategory> {

    /**
     *
     * @param id
     */
    void removeByConfigId(Long id);

    /**
     *
     * @param id
     */
    List<ImgCategory>  listByConfigId(Long id);


    /**
     *
     * @param id
     * @return
     */
    List<ImgCategory> listByPid(Long id);

    /**
     *
     * @param ids
     * @return
     */
    List<ImgCategory> listByPids(List<Long> ids);

    /**
     * 计算分值
     * @param imgConfig
     *
     */
    void compute(ImgConfigVo imgConfig);

}
